package com.itheima.reggie.service;

import com.itheima.reggie.common.ResultInfo;
import com.itheima.reggie.domain.Employee;

import java.util.List;

public interface EmployeeService {
	
	//登录信息
	ResultInfo login(String username, String password);
	
	//通过name查找员工
	List<Employee> findByName(String name);
	
	//保存员工
	void save(Employee employee);
	
	//通过id查找用户
	Employee findById(String id);
	
	//修改员工信息
	void update(Employee employee);
}
